package HashTable;

public class HashTable {
    public static void main(String[] args){
        HashTableOperate hashTable=new HashTableOperate();
        Node a=new Node(0,"0");
        Node b=new Node(1,"1");
        Node c=new Node(2,"2");
        Node d=new Node(3,"3");
        Node e=new Node(4,"4");
        Node f=new Node(5,"5");
        Node g=new Node(6,"6");
        Node h=new Node(7,"7");
        Node i=new Node(8,"8");
        Node j=new Node(9,"9");
        hashTable.addNode(a);
        hashTable.addNode(b);
        hashTable.addNode(c);
        hashTable.addNode(d);
        hashTable.addNode(e);
        hashTable.addNode(f);
        hashTable.addNode(g);
        hashTable.addNode(h);
        hashTable.addNode(i);
        hashTable.addNode(j);
        hashTable.list();
        hashTable.deleteNode(a);
        hashTable.deleteNode(f);
        hashTable.deleteNode(g);
        hashTable.list();
        hashTable.deleteNode(a);
        hashTable.findNode(0);
        hashTable.findNode(9);
        hashTable.findNode(4);
    }
}
